package com.muyu.danmo.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 培训班类型对象 danmo_training_type
 *
 * @author yangle
 * @date 2024-10-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoTrainingType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 培训类型唯一标识 */
    private Long id;

    /**  培训班id */
    private Long danmoTrainingInformationId;
    /** 培训类型名称 */
    @Excel(name = "培训类型名称")
    private String typeName;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

//    public void setId(Long id)
//    {
//        this.id = id;
//    }
//
//    public Long getId()
//    {
//        return id;
//    }
//    public void setTypeName(String typeName)
//    {
//        this.typeName = typeName;
//    }
//
//    public String getTypeName()
//    {
//        return typeName;
//    }
//    public void setDescription(String description)
//    {
//        this.description = description;
//    }
//
//    public String getDescription()
//    {
//        return description;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeName", getTypeName())
            .append("description", getDescription())
            .toString();
    }
}
